package com.xy.example1;

/**
 * @author 谢阳
 * @version 1.8.0_131
 * @date 2022/6/14 9:43
 * @description
 */
public class ConcreteWebSite extends WebSite {

    private String type = "";

    public ConcreteWebSite(String type) {
        this.type = type;
    }


    @Override
    public void use(User user) {
        System.out.println(user.getName() + "的网站的发布形式为" + type);
    }
}
